package com.situ.team5.kzq.criterionData.controller;

import com.situ.team5.kzq.criterionData.service.BbService;
import com.situ.team5.pojo.ConfigPrimaryKey;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class BbController {
    @Autowired
    BbService bser;
    //excel
    @RequestMapping("excel_locate")
    public String excel_locate(){
        //查出config_primary_key 表的所有表
       List<ConfigPrimaryKey> cpk= bser.excel_locateselectAll();
   return "/page/criterionData/excel_locate.html";
}

//pdf
    @RequestMapping("pdf_locate")
    public String pdf_locate(){
        return "/page/criterionData/pdf_locate.html";
    }
//xml
    @RequestMapping("xml_locate")
    public String xml_locate(){
        return "/page/criterionData/xml_locate.html";
    }
}
